package com.jincheng.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jincheng.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serial;

@Setter
@Getter
@TableName("tb_org")
public class Org extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    private Integer orgId;
    private String orgName;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orgId", getOrgId())
                .append("orgName", getOrgName())
                .toString();
    }
}
